This article mainly introduces the conversion of the date of PHP to JDE of the Julian calendar format method, has a certain reference value, now share to everyone, the need for friends can refer to
JDE's Julian calendar format rules are as follows:
PHP 5Calendar function
About PHP CalendarThe calendar extension contains functions that simplify conversions between different calendar formats.It is based on Julian Day count (Julian days count), which was calculated starting from January 1, 4
Header (' content-type:text/html;charset=utf-8; ');#总结php操作时间的函数#1. Cal_days_in_month (calendar,month,year): function returns the number of days in one months for a specified year and calendar#calendar: The calendar to be used, month: Specified
PHP 5 Calendar function
function
Description
Cal_days_in_month ()
Returns the number of days in the one month for the specified year and calendar.
CAL_FROM_JD ()
Converts the Julian day count
In the daily development, most novice is very puzzled, so many PHP built-in function how to remember, in fact, you just know that there is this thing is OK, use more time you naturally remember, the following collection of PHP development when the
Php time and date tool implementation code
/**
* Function: php time and date tool
* Edit: bbs.it-home.org
*/
DateTimeUtils: addDate ('2017-12-01 ', 1, 'y ');
DateTimeUtils: getWeekDay ('2014/1
PHP Function Index 967 functions
A total of 967 functions
Abs: Get absolute value.
Acos: Gets the inverse cosine value.
Ada_afetch: Gets the return column of the database.
Ada_autocommit: Switch automatic change function.
Ada_close: Close Adabas D
FortranThe Fortran language ranked 31st in the June 2010 programming language rankings. Here is the Gregoriantest.for program:I did not find a function to set the specified date in the standard library of Fortran, but I had to go back from 1970-01-01
Hw_GetParents: Gets the ID of the parent class. Hw_GetParentsObj: obtain the information of the parent class. Hw_GetRemote: Gets a remote file. Hw_getremotechil.pdf: obtain remote sub-files. Hw_GetSrcByDestObj: get the object content for the
Hw_GetParents: gets the ID of the parent class. Hw_GetParentsObj: obtain the information of the parent class. Hw_GetRemote: gets a remote file. Hw_getremotechil.pdf: obtain remote sub-files. Hw_GetSrcByDestObj: Get the object content for the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.